package com.wy.user.service.impl;

import com.wy.user.dao.UserDao;
import com.wy.user.model.User;
import com.wy.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @描述
 * @创建人 wangyue
 * @创建时间2019/9/1715:41
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public List<User> list() {
        return userDao.list();
    }
}
